package cn.hqm.hqmtechnology.utils;

import cn.hutool.core.lang.Snowflake;
import cn.hutool.core.util.IdUtil;

public class IdGen {
    private static final  Snowflake snowflake = IdUtil.createSnowflake(1, 1);

    public static Long id() {
        return snowflake.nextId();
    }
}
